package com.example.demo1.mapper;

import com.example.demo1.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-03-09
 * Time: 8:57
 */
@Mapper
public interface StudentMapper {
    //获取所有学生和学生证信息
    List<Student> selectStudentsAndCard();

    //查询学生表中学号为” 189000102”,” 189000103”， 189000104”
    //且专业是“软件工程”的学生姓名

    Student getStuAndCard(Integer stu_no);
}
